package com.ems.db;

public class UserException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Exception e;
	private String message = "";
	
	public UserException(){
	}
	
	public UserException(Exception e){
		this.e = e;
	}
	
	public UserException(String message){
		this.message = message;
	}
	
	public UserException(Exception e,String message){
		this.e = e;
		this.message = message;
	}

	public Exception getE() {
		return e;
	}

	public void setE(Exception e) {
		this.e = e;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
